package cn.gson.oasys.mapper;

import cn.gson.oasys.pojo.AoaReplyList;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AoaReplyListMapper {
    /*int deleteByPrimaryKey(Long replyId);

    int insert(AoaReplyList record);

    int insertSelective(AoaReplyList record);

    AoaReplyList selectByPrimaryKey(Long replyId);

    int updateByPrimaryKeySelective(AoaReplyList record);

    int updateByPrimaryKeyWithBLOBs(AoaReplyList record);

    int updateByPrimaryKey(AoaReplyList record);*/

    //根据discussId查询相对应的回复列表 王义
    public List<AoaReplyList> selectAoaReplyListByDicussId(@Param("discussId") Long discussId);

    //根据用户名查询回复列表  王义
    public List<AoaReplyList> selectAllReplyByUserName(@Param("userName") String userName);

}